import java.util.ArrayList;
import java.util.List;

public class Vertex {
        int id ;
        int flow ;

		List<Edge> adj;

        Vertex(int id, int flow) {
            this.id = id;
            this.adj = new ArrayList<Edge>();
            this.flow = flow ;
        }

        void addAdj(Edge e) {
            adj.add(e);
        }
        
        public int getId() {
			return id;
		}
        
		public int getFlow() {
			return flow;
		}

		public void setFlow(int flow) {
			this.flow = flow;
		}
        
    }